package com.ruoyi.wechat.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 广告列表对象 c_banner
 * 
 * @author ruoyi
 * @date 2024-07-24
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告Id */
    private Long bannerId;

    /** 轮播图 */
    @Excel(name = "轮播图")
    private String imageUrl;

    /** 超链接目标 */
    @Excel(name = "超链接目标")
    private String href;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    public void setBannerId(Long bannerId) 
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId() 
    {
        return bannerId;
    }
    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }
    public void setHref(String href) 
    {
        this.href = href;
    }

    public String getHref() 
    {
        return href;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("imageUrl", getImageUrl())
            .append("href", getHref())
            .append("state", getState())
            .toString();
    }
}
